package com.financing.wap.dao.impl;

import java.sql.SQLException;
import java.util.Collections;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IFriendshipLinkDao;
import com.financing.wap.dto.FriendshipLinkDTO;


/**
 * 友情链接
 * @author caojiayao
 *
 */
@Repository("friendshipLinkDao")
public class FriendshipLinkDaoImpl extends BaseDaoImpl<FriendshipLinkDTO, Integer> implements IFriendshipLinkDao {

	@Override
	public List<FriendshipLinkDTO> queryList(FriendshipLinkDTO friendshipLinkDTO) {
	return this.getSqlMapClientTemplate().queryForList(SqlName.queryListFriendshipLink,friendshipLinkDTO);
	}

	@Override
	public Class<FriendshipLinkDTO> getEntityClass() {
		// TODO Auto-generated method stub
		return FriendshipLinkDTO.class;
	}


}
